﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Common.Entity
{
    /// <summary>
    /// 供应商实体.
    /// </summary>
    [SugarTable("com_base_supplier", "供应商")]
    [Tenant(ClaimConst.TENANTID)]
    public class ComBaseSupplierEntity : CLDEntityBase
    {
        /// <summary>
        /// GUID.
        /// </summary>
        //[SugarColumn(ColumnName = "F_Id", ColumnDescription = "GUID", IsPrimaryKey = true)]
        //public string Id { get; set; }

        /// <summary>
        /// 供应商编码.
        /// </summary>
        [SugarColumn(ColumnName = "F_Code", ColumnDescription = "供应商编码")]
        public string Code { get; set; }

        /// <summary>
        /// 供应商名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_Name", ColumnDescription = "供应商名称")]
        public string Name { get; set; }

        /// <summary>
        /// 供应商类型.
        /// </summary>
        [SugarColumn(ColumnName = "F_Type", ColumnDescription = "供应商类型")]
        public string Type { get; set; }

        /// <summary>
        /// 供应商分类.
        /// </summary>
        [SugarColumn(ColumnName = "F_Classify", ColumnDescription = "供应商分类")]
        public string Classify { get; set; }

        /// <summary>
        /// 供应商地址.
        /// </summary>
        [SugarColumn(ColumnName = "F_Address", ColumnDescription = "供应商地址")]
        public string Address { get; set; }

        /// <summary>
        /// 供应商电话.
        /// </summary>
        [SugarColumn(ColumnName = "F_Phone", ColumnDescription = "供应商电话")]
        public string Phone { get; set; }

        /// <summary>
        /// 供应商邮箱.
        /// </summary>
        [SugarColumn(ColumnName = "F_Email", ColumnDescription = "供应商邮箱")]
        public string Email { get; set; }

        /// <summary>
        /// 供应商联系人.
        /// </summary>
        [SugarColumn(ColumnName = "F_Contacts", ColumnDescription = "供应商联系人")]
        public string Contacts { get; set; }

        /// <summary>
        /// 备注.
        /// </summary>
        [SugarColumn(ColumnName = "F_Remarks", ColumnDescription = "备注")]
        public string Remarks { get; set; }
    }
}